//
//  HNLogicPosition.h
//  HeroNuts
//
//  Created by Gelford on 11-4-27.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h> 
 
#define VERTICALDISTANCE 42
#define HORIZONTALDISTANCE 44

@interface HNLogicPosition : NSObject
{
    CGPoint position_;
}  

@property (nonatomic, assign) CGPoint position;
@property (nonatomic, readonly) CGFloat x;
@property (nonatomic, readonly) CGFloat y;


- (id)initWithPoint:(CGPoint)point;
+ (CGPoint)distanceInPixelsFrom:(CGPoint)start to:(CGPoint)end;

@end
